Ijraset Journal For Research in Applied Science and Engineering Technology
Authors: Chandana K R , Tejesh T S, Vaishnavi M, Venugopal S, Vinaytej V G
DOI Link: https://doi.org/10.22214/ijraset.2023.51969
Certificate: View Certificate
A Blockchain-based decentralized cab aggregator system that aims to revolutionize the traditional ride-hailing industry. The system leverages the transparency and security features of blockchain technology to create a thrustless environment where riders and drivers can connect without the need for intermediaries. The decentralized platform also eliminates the problem of surge pricing and ensures that drivers are paid fairly. In addition, the use of smart contracts ensures that all parties fulfil their obligations, thereby reducing the risk of fraud and disputes. The project promises to create a more equitable and efficient cab aggregation system that benefits all stakeholders involved.
I. INTRODUCTION
Online Vehicle Booking Services provide their users to hire a vehicle and help them to reach their destination. Nowadays these services are available in all cities, towns and some villages. These services help the users from wasting their time looking for a taxi or auto hire to reach their destination. One can directly select their source and destination and the registered driver who accepts the drop can take the customer to their destination. Not only customers but also vehicle drivers benefit from these services. Drivers need no wait for the customers or have to ask every person on their way whether they require a drop or not. Though drivers and customers benefit from the service there are no third-party commissions, which is making money from driver and customer deals. That is nothing but the centralized owner of the application. They charge a certain percentage from every deal that happens using the website. Applications developed using blockchain are immutable, more secure, traceable, and free from a centralized authority which makes money from our data and transactions.
II. WHAT IS BLOCKCHAIN
Blockchain is a public, enduring ledger that may be used to track resources, record transactions, and create trust. Any asset (physical or intangible) may be tracked and exchanged on a blockchain network, with the major benefit being a reduction in risk and a large reduction in costs for all parties.
Data is the foundation of every industry and discipline. Most firms rely primarily on the exchange of information; the sooner this occurs, the better.
Blockchain is ideal for data transportation because it can deliver timely, shareable, and entirely transparent information that will be stored on an irreversible ledger that can be accessed only by those who are permitted to do so. A blockchain network can be employed in the tracking of orders, expenditure, financial records, manufacture and so on. The most important feature of blockchain is that all users share a single view of the truth, so each member can see all the particulars of a transaction from the very beginning, giving members greater confidence while also increasing efficiency and giving rise to a plethora of applications blockchain can be used for. To further reduce transaction time, a set of rules known as the smart contract is stored on the blockchain and executed automatically. It is used to define conditions for transfer, include terms for different bonds and so on
III. EXISTED SYSTEM
Currently, cab service aggregators are using a centralized methodology to carry out their day-to-day operations. The policies, rules and regulations, terms and conditions that both the user and the driver must follow vary from company to company. Central authority has all the control of the data belonging to the users due to which, there is no anonymity and the data of the user is compromised. Central authority has complete control over the commission rates; hence a few board members have completed say on the commission that is charged without any intervention of providers of the cab service.
This has led to pricing issues such as surging. Furthermore, the booking of cabs requires mediators or third-party businesses to carry out the payment process. With more parties involved, this proves to be problematic with the creation of a lack of transparency. These disadvantages have led to an extensive study of the blockchain technology and subsequently several proposals of architecture built atop the blockchain.
IV. BLOCKCHAIN BASED INTELLIGENT TRANSPORT SYSTEMS
Decentralization helps to transfer decision making to the end users rather than a single central authority. Our project aims at democratizing the cab service sector. Rather than having a central authority, the decisions are taken by people, leading to a much fairer trade. This eliminates the lack of transparency and leads to fair pricing. Apart from this, there is no central authority that has control over the data of users and hence importance is given to anonymity of the users leading to a more secure and sustainable model.
A. Book ride Module
Book ride module comprises the APIs and interfaces which facilitate the booking of rides which are submitted to any node on the blockchain.
B. Ride selection Module
The cab driver can query a list of rides from the node in the blockchain. Among the rides requested in the list, the driver can proceed to select any of the bids in the list and accept the ride.
C. Transaction Module Ride
This module helps in sending tokens from one wallet to another after undergoing a request verification to check whether the request is valid or not. If found to be valid, then the transaction is flooded across all the nodes in the blockchain.
D. GIS Module
The GIS module is used to automate geoprocessing tasks. It helps in retrieving the nearest ride request by minimizing the time spent in searching on a localized area, this is done with the help of bucketizing portion of the globe and when a query is executed on the blockchain, the location is converted to the nearest landmark that represents all the request within the given block of area.
E. Inter node connectivity Module
This module maintains the consensus between the nodes. The state of all the nodes that are connected to the network must have the same state i.e. information stored on the blockchain and the trie module.
F. Validation Module
Validation module helps in validating requests submitted to the blockchain using signature verification of ECC which uses elliptic curves to generate key pairs and sign data. If the generated value matches the expected value, the signature is considered valid and authentic. Otherwise, the signature is considered invalid
G. Trie Module
The trie module is a software module that implements the trie data structure for inserting new keys, searching for the keys and deleting the keys and helps to hold information regarding the transactions inputs (received), transaction outputs (spend), rides booked and rides provided.
H. Hash Queue Module
The hash queue module is used in order to suppress the possibility of message rebroadcast by storing the hash of the message and checking if it exists in the queue. If it does then the message is not broadcasted.
V. RELATED WORK
Rohit Panchal et al. [1] they proposed an idea on blockchain which can be extended to Car Hailing applications to make a decentralized application to overcome the issues with the current Car Hailing Industry and take a step toward Web 3.0. They discussed a Decentralized Car Hailing System and the benefits it serves over the traditional and current Car Hailing Industry
Shuchih Ernest Chang et al. [2]
This paper primarily contributes to extant literature by not only proposing a layered system architecture adapting blockchain and smart contracts into the desired ridesharing service but also demonstrating the design and implementation details, covering the development tools, the deployment environment and the deployed smart contracts.
Hema Pallevada et al. [3] proposed Blockchain based Decentralized Vehicle Booking Service where they aimed to overcome the major pitfalls of online vehicle booking services being in the hands of centralized authorities. Their decentralized platform avoids a third-party getting profits from the transactions. The third-party truthfulness was the major issue of decentralized platforms that was overcome by uploading driver’s documents to blockchain and allowing users to view the documents using their hash value.
Somanath Tripathy et al. [4] proposed A Decentralized Cab Consortium over Blockchains where they proposed an alternate model by constructing a decentralized cab consortium where the car owners and the renters can directly interact and share the car based on certain predefined agreements. They utilized the concept of smart contracts on top of a blockchain platform to realize such a system that provides a secured, tamper-proof, fair, and transparent interface for car sharing.
Riddhi Gupta et al. [5] They proposed an idea that vehicle sharing can be revolutionized by implementing blockchain technologies. Blockchain is a decentralized record where all the information is stored on systems everywhere which can be retrieved and traced freely. There is a mechanism that allows peer to peer transactions and brings the need for third parties to a absolute minimum. The system is no longer trust-based but simply based on concrete proof that exists which is built into the ledger.
Myeonghyun Kim et al. [6] The design of a decentralized car-sharing scheme is vital for solving the centralized problem. This study designed a decentralized car-sharing scheme using blockchain. Specifically, blockchain technology was used to provide a decentralization car sharing service and ensure data integrity. The participant entities of the proposed system can be authenticated anonymously.
Naipeng Dong et al. [7] proposed a decentralized booking system that uses the blockchain as the intermediary between hoteliers and travelers. The system enjoys the trustworthiness of blockchain, improves efficiency and reduces the cost of the traditional booking agencies. The design of the system has been formally modelled using the CSP# language and verified using the model checker Process Analysis Toolkit.
Rateb Jabbar et al. [8] In the paper they published aimed to develop a Blockchain-based IoT system in order to establish secure communication and create an entirely decentralized cloud computing platform. Moreover, the authors qualitatively tested the performance and resilience of the proposed system against common security attacks.
Computational tests showed that the proposed solution solved the main challenges of Vehicle-to-X (V2X) communications such as security, centralization, and lack of privacy. In addition, it guaranteed an easy data exchange between different actors of intelligent transportation systems.
El Faqir et al. [9] They introduce the concept of DAO and review the main software platforms that offer DAO creation as a service, which simplifies the use of DAOs to non-blockchain experts; namely: Aragon, DAO stack, DAO haus and Colony. These platforms will be compared by showing their key features. Finally, we will review the available visualization tools for DAOs, and we will introduce our open-source tool to plot DAOs activity, DAO Analyzer.
Shuai Wang et al. [10] Presented a systematic introduction of DAO, including its concept and characteristics, research framework, typical implementations, challenges, and future trends. Novel reference model for DAO which employs a five-layer architecture is proposed. The focus of this article is to make a detailed introduction of DAO and provide helpful guidance and reference for its future research efforts and industrial application. The inter-node connectivity module enables communication and data exchange between different nodes in this platform by acting as a bridge between the nodes. This module handles the interconnectivity between nodes that includes the functionality of broadcasting of messages for other nodes to process requests like ride booking and processing transactions.
VI. STEPS INVOLVED AND ALGORITHMS
A. At Driver’s Side
Step 1: Check whether the user is registered as driver or not.
Step 2: If not, ask him/her to register as driver by uploading his/her identity proof such as license in blockchain.
Step 3: Display all available drops to the driver
Step 4: If driver accepts a drop update the details in blockchain and don’t allow him/her to take that drop until the current drop is completed.
Step 5: Get OTP from customer and enter OTP, price in the input fields given
B. At Customer’s Side
Step 1: Check whether the user is registered as customer or not.
Step 2: If not, ask him/her to register as customer by giving his mobile number.
Step 3: Take the source and destination if the customer needs a drop.
Step 4: Display the OTP of the drop and display the status of the drop (accepted driver id, link of the driver’s identity etc.) continuously
VII. ALGORITHMS
Algorithm 1 Car Booking Request
0: procedure Car Booking Reqest
1: if renter sends a booking request with x ether then
2: CarId = FairCarAllocation(BookingRequest)
3: AddRequestToQueue(CarId,RenterId)
4: else
5: decline the transaction
6: end if
Algorithm 2 Fair Car Allocation
0: procedure FairCarAllocation
1: MinRequest = INT_MAX
2: CarId = NULL
3: for Each Car do
4: if Attributes of Car match Request Attributes then
5: CarId = CarWithMinRequest
6: end if
7: end for
8: if CarId==NULL then
9: decline transaction
10. end if
Algorithm 3: Add Request To Queue
0: procedure AddReqestToQueue(CarId,RenterId)
1: RenterScore = CalculatePriority(RenterId,Request Fee);
2: PriorityQueue[CarId].add(RenterScore,RenterId);
Algorithm 4 Calculate Priority
0: procedure CalculatePriority(RenterId,RequestFee)
1: return UserScore[RenterId] + RequestFee;
Algorithm 5 Accept request
0: procedure Accept request
1: renter = PriorityQueue[Carld].TopElement()
2:PriorityQueue[Carld].Clear()
3: if owner accepts the request, send y ether and encrypted booking details then
4: if owner rejects the request then
5: transfer y+b to renter and x-b to owner.{penalize owner}
6: else if renter withdraw the request then
7: transfer x+b to owner,y-b to renter.{penalize renter}
8: else
9: mark car as booked
10: end if
11: else
12: transfer x ether back to renter
13: end if
Algorithm 6 End Car Rental
0: procedure End car rental
1: if end time?=decided time & end place=decided place then
2: transfer x+a ether to owner and y-a to renter
3: else
4: call function Extra Time
5: end if
Algorithm 7 Extra Time
0: procedure ExtraTime
1: if end time?=decided time & end place=decided place then
2: transfer x+a ether to owner and y-a to renter
3: else if
4: then
???? <- ????+ extra time*????
5: else if renter runs away with the car then
6: inform insurance
7: end if
VII. APPLICATIONS
VIII. MERITS AND DEMIRITS OF BLOCKCHAIN BASED SYSTEM
A. Merits of the Blockchain-Based Decentralized Cab Aggregator
???????B. Demerits of the Blockchain-Based Decentralized Cab Aggregator
IX. FUTURE WORK
Work can be improved by incorporating a bidding process to accept the drop rather than the driver picking the drop first come first serve. Drivers can bid on a drop, and the client can choose the best offer from the various offers. When the drop is complete, this model may be extended further by integrating automatic token or ether transfers from the customer's account to the driver's account. The position of the drop accepted driver may also be notified to the client in order to track the time it takes the driver to reach the consumer
Concluding, we built an entire platform from the ground up where users can book rides and send transactions over the blockchain. The future scope and enchantment of our project would be to improve security, scalability by incorporating appropriate data structures, and also adding features provided by Ola and Uber, to make the users\' (commuters\' and drivers\') experience better and easier. We also intend to make this project open source so that other developers can build on top of the blockchain, for example, for cab aggregation. This would increase the business\'s self-sufficiency without raising prices or commissions for users and drivers, respectively. We are also looking forward to implementing a franchise model where our platform could be used by other business owners to run their own cab services.
[1] Rohit Panchal, Navneet Bahuguna, Sarthak Sharma, Ankit Arora and Ankita Sharma, “Decentralized Car Hailing Application”, International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 09 Issue: 08 | Aug 2022. [2] Chang, S.E, Chang, E.C and Chen,Y, “Blockchain Meets Sharing Economy: A Case of smart contract enabled ride sharing service”. Sustainability 2022, 14, 13732. [3] Hema Pallevada, Gayathri Phani Kumar Kanuri, Sravani Posina, Satyendra Paruchuri and Mukesh Chinta, “Blockchain based Decentralized Vehicle Booking Service”, 2021 2nd International Conference on Smart Electronics and Communication (ICOSEC)|978-1-6654- 3368-6/21/$31.00©2021IEEE. [4] Somanath Tripathy, Mayank Aggarwal and Sandip Chakraborty, “Beyond Uber and Lyft: A Decentralized Cab Consortium over Blockchains”, BSCI ’21, June 7, 2021, Virtual Event, Hong Kong. [5] Riddhi Gupta, Riya Gupta and Sonali Shripad Shanbhag, “A Survey of Peer-to-Peer Ride Sharing Services using Blockchain”, International Journal of Engineering Research & Technology (IJERT) http://www.ijert.org ISSN: 2278-0181 IJERTV10IS080172 (This work is licensed under a Creative Commons Attribution 4.0 International License.) Published by: www.ijert.org Vol. 10 Issue 08, August-2021. [6] Myeonghyun Kim, Joonyoung Lee, Kisung Park, Yohan Park, Kil Houm Park, and Youngho Park, “Design of Secure Decentralized Car-Sharing System Using Blockchain”, IEEE Access 2021. [7] Naipeng Dong1, Guangdong Bai, Lung-Chen Huang ,Edmudk Kok Heng Lim and Jin Song Dong, “ A blockchain-based decentralized booking system”, The Knowledge Engineering Review, Vol. 35, e17, 1 of 21. © Cambridge University Press, 2021 [8] Rateb Jabbar,Mohamed Kharbeche, Khalifa Al-Khalifa, Moez Krichen and Kamel Barkaoui, “Blockchain for the Internet of Vehicles: A Decentralized IoT Solution for Vehicles Communication Using Ethereum”. Sensors2020,20(14),3928; [9] El Faqir, Y., Arroyo, J., & Hassan, S. (2020). An overview of decentralized autonomous organizations on the blockchain. Proceedings of the 16th International Symposium on Open Collaboration. [10] Wang, S., Ding, W., Li, J., Yuan, Y., Ouyang, L., and Wang, “Decentralized Autonomous Organizations: Concept, Model, and Applications”, IEEE Transactions on Computational Social Systems, 2019.
Copyright © 2023 Chandana K R , Tejesh T S, Vaishnavi M, Venugopal S, Vinaytej V G. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Paper Id : IJRASET51969
Publish Date : 2023-05-10
ISSN : 2321-9653
Publisher Name : IJRASET
DOI Link : Click Here